def satisfy(n, upto):
    for x in range(3, upto):
        if n % x != 0:
            #print str(n) + " can't be divided by " + str(x)
            return False
    return True


x = 20
flag = True
while flag:
    if satisfy(x, 20):
        flag = False
        print "answer is: " + str(x)
    x += 20